package com.javapatterns.command.lightandfan;

public class FanOnCommand implements Command {
	private Fan myFan;

	public FanOnCommand(Fan F) {
		myFan = F;
	}

	public void execute() {
		myFan.startRotate();
	}
}
